package com.iplatform.file.function.meta.service.impl;


import com.iplatform.file.function.meta.dao.FieldMetaMapper;
import com.iplatform.file.function.meta.domain.FieldMeta;
import com.iplatform.file.function.meta.service.FieldMetaService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author Dair
 * @since
 */
@Service
public class FieldMetaServiceImpl implements FieldMetaService {
	
	@Resource
	private FieldMetaMapper fieldMetaMapper;
	
	@Override
	public int deleteByPrimaryKey(Long id) {
		return fieldMetaMapper.deleteByPrimaryKey(id);
	}
	
	@Override
	public int insert(FieldMeta record) {
		return fieldMetaMapper.insert(record);
	}
	
	@Override
	public int insertOrUpdate(FieldMeta record) {
		return fieldMetaMapper.insertOrUpdate(record);
	}
	
	@Override
	public int insertOrUpdateSelective(FieldMeta record) {
		return fieldMetaMapper.insertOrUpdateSelective(record);
	}
	
	@Override
	public int insertSelective(FieldMeta record) {
		return fieldMetaMapper.insertSelective(record);
	}
	
	@Override
	public FieldMeta selectByPrimaryKey(Long id) {
		return fieldMetaMapper.selectByPrimaryKey(id);
	}
	
	@Override
	public int updateByPrimaryKeySelective(FieldMeta record) {
		return fieldMetaMapper.updateByPrimaryKeySelective(record);
	}
	
	@Override
	public int updateByPrimaryKey(FieldMeta record) {
		return fieldMetaMapper.updateByPrimaryKey(record);
	}
	
	@Override
	public int updateBatch(List<FieldMeta> list) {
		return fieldMetaMapper.updateBatch(list);
	}
	
	@Override
	public int updateBatchSelective(List<FieldMeta> list) {
		return fieldMetaMapper.updateBatchSelective(list);
	}
	
	@Override
	public int batchInsert(List<FieldMeta> list) {
		return fieldMetaMapper.batchInsert(list);
	}
	
}
